OpenTelemetry Collector
#OpenTelemetry
概要
公式ドキュメント
Collector (2ddb450時点のドキュメント)
(最新のドキュメント)
インストール
公式ドキュメント
Install the Collector (2ddb450時点のドキュメント)
(最新のドキュメント)
設定
公式ドキュメント
Configuration (2ddb450時点のドキュメント)
(最新のドキュメント)
設定ファイル
/etc/<otel-directory>/config.yamlに配置する (<otel-directory>にはCollectorのバージョンや配布形式に応じてotelcolやotelcol-contribなどが入る)
otelcolの--configオプションで設定を指定することも可能
code:shell
$ otelcol --config=myconfig.yaml
otelcol validateコマンドでCollectorを起動せずに設定ファイルを検証できる
code:shell
$ otelcol validate --config=myconfig.yaml
リンク